package com.ktjy.mapper.user;

import com.ktjy.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
     //6.查询入库单
    public List<StorageRecord> selectStorageRecord(@Param("goodsName") String goodsName, @Param("supplierId") Integer supplierId, @Param("payStatus") Integer payStatus, @Param("pageBegin") Integer pageBegin, @Param("pageSize") Integer pageSize);

    //7.新增入库
    public int insertStorageRecord(StorageRecord storageRecord);

    //8.修改入库
    public int updateStorageRecord(StorageRecord storageRecord);

    //9.查询入库单明细
    public List<StorageRecord> selectStorageRecordDetail(long id);

    //10.删除入库单
    public int deleteStorageRecord(long id);
}
